<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{msg}}
        <div v-html="ht">

        </div>
    </div>
    <script src="http://cdn.jsdelivr.net/npm/vue"></script>
    <script >
        var app=new Vue({
            el:'#app',
            data:{
               msg:"芒果纤维",
               ht:"<h1>来了来了</h1>"
            },
            mounted:function(){
                console.log('来了'+new Date().toLocaleString());  
            },
            created:function(){
                console.log('走了'+new Date().toTimeString());
            }
        })
    </script>
</body>
</html>